package com.clwl.supervise.superviseapp.mapper.supervise;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.clwl.supervise.superviseapp.entity.base.CommonSearchEntity;
import com.clwl.supervise.superviseapp.entity.supervise.JgInvestigation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface JgInvestigationMapper extends BaseMapper<JgInvestigation> {

    IPage<Map<String, Object>> selectInvestigationPage(IPage<Map<String, Object>> page, @Param("params") CommonSearchEntity commonSearchEntity);

    List<JgInvestigation> selectByCheckId( @Param("checkId") Long id,  @Param("type") String typ);
}